
/**
 * 以函数的方式自定义模拟数据模板
 *
 * @module mock/templates
 *
 * @example 模板定义方法
 *
 * export function templateFuncName(Mock, url, query) {
 *    return {code:0, data:[], msg: ''}
 * }
 *
 */
// ==========常规接口========
import { getPersonsMock, findPersonsMock } from './mymock/personsMock'
import {getCaseInfoMock} from './mymock/cases-mock'
import {getAsyncImageMock} from './mymock/async-img-mock'

// =========斗门管理平台======
import { getAdminSourcesMock, findAdminSourcesMock } from './mymock/admin-source-mock'
import { getAdminCluesMock, findAdminCluesMock } from './mymock/admin-clues-mock'
import { getAdminTasksMock, findAdminTasksMock } from './mymock/admin-tasks-mock'
import { getAdminCreditsMock, findAdminCreditsMock } from './mymock/admin-credits-mock'
import { getAdminAccusationsMock, findAdminAccusationsMock } from './mymock/admin-accusations-mock'
import { getAdminIntelligencesMock, findAdminIntelligencesMock } from './mymock/admin-intelligences-mock'
import { getAdminStatisticsMock, findAdminStatisticsMock } from './mymock/admin-statistics-mock'
import { getAdminPerformanceMock, findAdminPerformanceMock } from './mymock/admin-performance-mock'
// ======斗门管理平台（完）========

// ======侦查平台=========
import {getDetectiveGroupsMock} from './mymock/detective/detective-groups-mock'
import {getDetectiveTasksMock} from './mymock/detective/detective-tasks-mock'

/* ****************************************************** */ 
// =======未分类 开始============
export function getPersons(Mock, url, query) {
  return getPersonsMock(Mock, url, query)
}
export function findPersons(Mock, url, query) {
  return findPersonsMock(Mock, url, query)
}

export function getCaseInfo(Mock, url, query) {
  console.log('mock query', query)
  return getCaseInfoMock(Mock, url, query)
}

export function getAsyncImage(Mock, url, query) {
  return getAsyncImageMock(Mock, url, query)
}

// =======珠海斗门管理平台 开始============
export function getAdminSources(Mock, url, query) {
  return getAdminSourcesMock(Mock, url, query)
}
export function findAdminSources(Mock, url, query) {
  return findAdminSourcesMock(Mock, url, query)
}

// ----------
export function getAdminClues(Mock, url, query) {
  return getAdminCluesMock(Mock, url, query)
}
export function findAdminClues(Mock, url, query) {
  return findAdminCluesMock(Mock, url, query)
}

// ----------
export function getAdminTasks(Mock, url, query) {
  return getAdminTasksMock(Mock, url, query)
}
export function findAdminTasks(Mock, url, query) {
  return findAdminTasksMock(Mock, url, query)
}

// ------
export function getAdminCredits(Mock, url, query) {
  return getAdminCreditsMock(Mock, url, query)
}
export function findAdminCredits(Mock, url, query) {
  return findAdminCreditsMock(Mock, url, query)
}

// ------
export function getAdminAccusations(Mock, url, query) {
  return getAdminAccusationsMock(Mock, url, query)
}
export function findAdminAccusations(Mock, url, query) {
  return findAdminAccusationsMock(Mock, url, query)
}

// ------
export function getAdminIntelligences(Mock, url, query) {
  return getAdminIntelligencesMock(Mock, url, query)
}
export function findAdminIntelligences(Mock, url, query) {
  return findAdminIntelligencesMock(Mock, url, query)
}

// ------
export function getAdminStatistics(Mock, url, query) {
  return getAdminStatisticsMock(Mock, url, query)
}
export function findAdminStatistics(Mock, url, query) {
  return findAdminStatisticsMock(Mock, url, query)
}

// ------
export function getAdminPerformance(Mock, url, query) {
  return getAdminPerformanceMock(Mock, url, query)
}
export function findAdminPerformance(Mock, url, query) {
  return findAdminPerformanceMock(Mock, url, query)
}
// ===============珠海斗门管理平台 结束===============


// ==========侦查平台============
// 侦查组织
export function getDetectiveGroups(Mock, url, query) {
  return getDetectiveGroupsMock(Mock, url, query)
}
// 侦查任务
export function getDetectiveTasks(Mock, url, query) {
  return getDetectiveTasksMock(Mock, url, query)
}

// ===============
